package com.qfmy.model.entity.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/11/26
 * @description 公告信息实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Announcement {
    @Schema(description = "公告ID（主键，自增）")
    private Integer id;

    @Schema(description = "公告标题")
    private String title;

    @Schema(description = "公告内容")
    private String content;

    @Schema(description = "发布时间")
    private Date publishTime;

    @Schema(description = "状态：1为显示，0为隐藏")
    private Integer status;
}
